package RTL.Task4;

import java.util.List;

public interface Find {
    public static <E> E find(List<E> list, E element) {
        int index = list.indexOf(element);
        if (index == -1) {
            return null;
        } else {
            return list.get(index);
        }
    }
    void find();
}
